// Convert a configuration object into a query string "param=value&parame2=value2".
var param = Rhy.config.manager.encode({
  configA: 123,
  configB: "temp"
});
console.log(param);

// Convert back the query string into an object.
var conf = Rhy.config.manager.decode(param);
console.log(conf);

/* 
* Combine two configurations object. The first is overrided by the second one.
* Property with same name are replaced.
* New properties are added.
*/
var override = Rhy.config.manager.merge(conf, {
  configA: 456,
  configC: "RhyJS"
});

console.log(override);